package com.giscloud.limp.dao;

import com.giscloud.limp.entity.CourtInfo;
import org.apache.ibatis.annotations.Param;
import com.giscloud.limp.entity.CourtInfoExample;
import java.util.List;
import com.giscloud.datasource.core.DynamicDataSource;
/**
 * 法院信息
 * 
 * @author giscloud
 * @email giscloud@giscloud.com
 * @date 2020-06-12 09:49:29
 */
public interface CourtInfoDao {
    @DynamicDataSource("ds1")
    long countByExample(CourtInfoExample example);
    @DynamicDataSource("ds1")
    int deleteByExample(CourtInfoExample example);
    @DynamicDataSource("ds1")
    int insert(CourtInfo record);
    @DynamicDataSource("ds1")
    int insertSelective(CourtInfo record);
    @DynamicDataSource("ds1")
    List<CourtInfo> selectByExample(CourtInfoExample example);
    @DynamicDataSource("ds1")
    int updateByExampleSelective(@Param("record") CourtInfo record, @Param("example") CourtInfoExample example);
    @DynamicDataSource("ds1")
    int updateByExample(@Param("record") CourtInfo record, @Param("example") CourtInfoExample example);
    @DynamicDataSource("ds1")
    int updateByPrimaryKeySelective(CourtInfo record);
    @DynamicDataSource("ds1")
    int updateByPrimaryKey(CourtInfo record);
    @DynamicDataSource("ds1")
    CourtInfo selectByPrimaryKey(Integer courtId);
    @DynamicDataSource("ds1")
    CourtInfo selectOneByExample(CourtInfoExample example);
    @DynamicDataSource("ds1")
    CourtInfo selectOneByExampleSelective(@Param("example") CourtInfoExample example, @Param("selective") CourtInfo.Column... selective);
    @DynamicDataSource("ds1")
    CourtInfo selectByPrimaryKeySelective(Integer courtId, @Param("selective") CourtInfo.Column... selective);
    @DynamicDataSource("ds1")
    List<CourtInfo> selectByExampleSelective(@Param("example") CourtInfoExample example, @Param("selective") CourtInfo.Column... selective);

}
